#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QWidget>
#include<QPushButton>
class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
   // explicit MyPushButton(QWidget *parent = nullptr);
     MyPushButton(QString nomalImg,QString pressImg="");
     void zoom1();
     void zoom2();
//     // 鼠标按下事件
//     void mousePressEvent(QMouseEvent *e);
//     // 鼠标释放事件
//     void mouseReleaseEvent(QMouseEvent *e);
     ~MyPushButton();
     QString nomalImgPath;
     QString pressImgPath;
signals:

};

#endif // MYPUSHBUTTON_H
